package cn.cctvcc.system.api.domain;

import cn.cctvcc.core.web.domain.BaseEntity;

/**
 * @description: 邮件实体类
 * @author: Jiang
 * @create: 2021-09-28 14:33
 */
public class SysEmail extends BaseEntity {

    private Long id;

    /**
     * 邮件类型
     */
    private String emailType;

    /**
     * 邮件接收方
     */
    private String toEmail;

    /**
     * 文件ids
     */
    private String fileIds;

    /**
     * 邮件主题
     */
    private String subject;

    /**
     * 邮件内容
     */
    private String content;

    /**
     * 发送错误
     */
    private String sendError;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEmailType() {
        return emailType;
    }

    public void setEmailType(String emailType) {
        this.emailType = emailType;
    }

    public String getToEmail() {
        return toEmail;
    }

    public void setToEmail(String toEmail) {
        this.toEmail = toEmail;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendError() {
        return sendError;
    }

    public void setSendError(String sendError) {
        this.sendError = sendError;
    }

    @Override
    public String toString() {
        return "SysEmail{" +
                "id=" + id +
                ", emailType='" + emailType + '\'' +
                ", toEmail='" + toEmail + '\'' +
                ", fileIds='" + fileIds + '\'' +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                ", sendError='" + sendError + '\'' +
                '}';
    }
}
